{erl_opts, [
    {platform_define, "^[0-9]+", namespaced_types},
    {platform_define, "^(19|2)", rand_only},
    {platform_define, "^(R|1|20)", fun_stacktrace},


    debug_info,

    bin_opt_info,

    warn_bif_clash,
    warn_export_all,
    warn_obsolete_guard,

    warn_unused_import,

    warn_unused_record,
    warn_untyped_record,

    warn_shadow_vars,
    warn_unused_vars,
    warn_export_vars,
    warn_exported_vars,

    warn_unused_function,
    warn_deprecated_function,

    strict_validation
    %, warn_missing_spec
]}.

{deps, [
]}.

{profiles, [
    {dev, [
        {edoc_opts, [{doclet, edown_doclet}]},

        {deps, [
            {edown, ".*",
                {git, "https://github.com/uwiger/edown.git", {tag, "0.8"}}}
        ]},
        {erl_opts, [nowarn_export_all]}
    ]},
    {test, [
        {erl_opts, [nowarn_export_all]}
           ]
    }
]}.

{eunit_opts, [{report, {eunit_progress, [colored, profile]}}]}.
{eunit_compile_opts, [export_all]}.

{ct_opts, []}.
{ct_compile_opts, [{i, "./include/"}]}.

{cover_enabled, true}.
{cover_print_enabled, true}.

